<?php 
set_time_limit(0);
include '/var/www/hisense-card/c/config.php';
$num=array(0,1,2,4,5,6,7,8,9);
$start=1000000;
//2050334

$start=2050350;
//3099739
$start=3099741;
$chi=array();
for ($i=1;$i<=300000;$i++){
    $chi[]=$start;
    $start=$start+rand(1,3);
    $start++;
}
shuffle($chi);
$mysqli = new mysqli($dbhost, $dbuser, $dbpwd, $dbName);
if (!$mysqli->set_charset("utf8")) {printf("Error loading character set utf8: %s\n", $mysqliTwo->error);}
foreach ($chi as $v){
    $sql= "INSERT INTO `chi2` (`id`, `name`) VALUES (NULL, '".$v."');";
    $mysqli->query($sql);
}
echo 'done';